package com.test.event;

import com.test.event.impl.PreDataEvent;
import com.test.event.user.PreData;

import java.util.Arrays;

/**
 * 类功能描述:
 *
 * @author bgt
 * @version V1.0
 * @since 2019-02-18 17:29
 */
public class EventDemo {
    public static void main(String[] args) {
        PreData preData=new PreData();

        preData.registerEvent(new PreDataEvent());
        preData.synprocess();
        System.out.println(preData.getPreDataName());
        String[] strings=null;
        Arrays.stream(strings).findAny();
    }
}
